package com.itheima.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.math.BigDecimal;

public interface AccountDao {
    @Update("update account set money = money + #{money_} where id=#{id_} ")
    int updateMoneyById(@Param("id_") Integer id, @Param("money_") BigDecimal money);
}
